package com.mask.im.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mask.im.business.model.dto.FriendGroupsSortDTO;
import com.mask.im.business.model.entity.chat.IMFriendGroupsDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * 群组管理
 *
 * @author jian
 */
@Mapper
@Repository
public interface IMFriendGroupsMapper extends BaseMapper<IMFriendGroupsDO> {

    List<FriendGroupsSortDTO> getFriendGroupsSort(@Param("userId") Long userId);
}

